FROM centos:7

MAINTAINER leo

ADD jdk1.8.0_171 /opt/jdk

ENV JAVA_HOME /opt/jdk

ENV PATH ${PATH}:${JAVA_HOME}/bin

RUN echo "Asia/Shanghai" > /etc/timezone